#pragma once
#include <iostream>
#include <vector>
#include <string>

class AsyncClient
{
public:
	AsyncClient();
	~AsyncClient();

	void close();
	void connect(std::string_view ip , unsigned short port);
	std::string read();
	void send(std::string& data);
	void start(std::string_view ip , unsigned short port);
	
private:
	struct Impl;
	std::unique_ptr<Impl> acimpl;
};
